<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <script>
    // const pc = ['海尔', '联想', '小米', '方正'];
    // let [a, b,...c] = pc
    // console.log(a,b,c);
    const pc = [1, 2, 3, [4, 5, 6]]
    let [a, b, c, [d, e, f]] = pc
    console.log(a);
    console.log(d);
  </script>


</body>

</html>